<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<SCRIPT src="style/js/jquery-1.3.2.min.js" type=text/javascript></SCRIPT>
<SCRIPT src="style/js/main.js" type=text/javascript></SCRIPT>
<SCRIPT src="style/js/jquery-ui-1.7.2.custom.min.js" type=text/javascript></SCRIPT>
<LINK href="style/css/jquery-ui-1.7.2.custom.min.css" type=text/css rel=stylesheet>
<link rel="stylesheet" href="style/css/common.css" type="text/css" />
</head>

<body>
<div id="man_zone">
<form action="" method="post">
<%foreach item=val from=$websites%>
<table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
  <tr style="background-color:#F3F8F7;">
    <td style="padding-left:30px;"><a href="index.php?m=user&a=group&wid=<%$val.wid%>"><%$val.domain%></a></td>
  </tr>
</table>
<%assign var=wid value=$val.wid%>
<%if $wid%>
<%foreach item=value from=$groups.$wid%>
<table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
  <tr>
    <td style="padding-left:60px;">
    |-- <a href="index.php?m=user&a=editgroup&gid=<%$value.gid%>">
    	<%$value.gname%></a><%assign var=gid value=$value.gid%>
        <input name="gid[]" type="checkbox" value="<%$value.gid%>" <%if $user.gid && in_array("$gid",$user.gid)%>checked="checked"<%/if%> />
    </td>
  </tr>
</table>
<%/foreach%>
<%/if%>
<%/foreach%>
<div><input type="hidden" name="uid" value="<%$user.uid%>" /><input type="submit" value="提交" /></div>
</form>
</div>
</body>
</html>